a=[1,2,3,1,4,2,5,1,7,4,4,4,4,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0]
a.sort()
x=0
while x<len(a) :
    if int(a[x]) == int(a[x-1]) :
        a.remove(a[x])
    else :
        x+=1
    print a